home *** CD-ROM | disk | FTP | other *** search
/ PC World 2006 October / PCWorld_2006-10_cd.bin / audio-video / videoedit / videoeditmagic.exe / {app} / DSTestEngine.dll / XML / 1001 next >
Text File  |  2006-08-21  |  18KB  |  355 lines

  1. <tests start-test-seq="General" def-dll="DSFileTests.dll">
  2.  
  3.   <test-seq type="General">
  4.     <test id="FileNameLengthTest" FuncDesc="Checking filename length.">
  5.       <return case="1" ref="FileSizeTest"/>
  6.       <return case="2" ref="ShowMsgUsingStringID"/>
  7.       <return case="else" cmd="Abort" />
  8.     </test>
  9.     <test id="ShowMsgUsingStringID" FuncDesc="Show error message.">
  10.       <return case="2" cmd="Reject"/>
  11.       <return case="else" cmd="Abort"/>
  12.       <extrainfo>
  13.         <info id="Application Caption"><![CDATA[Digital Media Converter]]></info>
  14.       </extrainfo>
  15.     </test>
  16.     <test id="FileSizeTest" FuncDesc="Checking file size.">
  17.       <return case="1" ref="FileCopyProtectedTest" />
  18.       <return case="2" ref="ShowMsgUsingStringID" />
  19.       <return case="else" cmd="Abort" />
  20.     </test>
  21.     <test id="FileCopyProtectedTest" FuncDesc="Cheking if file is copy protected.">
  22.       <return case="1" ref="FileDeterminationTest"/>
  23.       <return case="2" ref="ShowMsgUsingStringID"/>
  24.       <return case="else" cmd="Abort"/>
  25.     </test>
  26.     <test id="FileDeterminationTest" FuncDesc="Determining file type.">
  27.       <return case="1" ref="DSRender" test-seq="AVI"/>
  28.       <return case="2" ref="CheckForGPLDecoders" test-seq="MPEG2"/>
  29.       <return case="3" ref="CheckOSVersion" test-seq="DVRMS"/>
  30.       <return case="4" ref="DSRenderWMV" test-seq="WMV"/>
  31.       <return case="5" ref="IsQTInstalled" test-seq="QuickTime"/>
  32.       <return case="6" ref="CheckForMpegableDecoders" test-seq="MP4"/>
  33.       <return case="7" ref="CheckIfDriveIsCDROMDrive" test-seq="CDA"/>
  34.       <return case="else" ref="DSRenderGeneral"/>
  35.     </test>
  36.     <test id="DSRenderGeneral" FuncDesc="General file render test.">
  37.       <return case="0" ref="FileDurationTestDMC"/>
  38.       <return case="1" ref="ShowMsgUsingStringID"/>
  39.       <return case="2" ref="IsFileNameInvalid"/>
  40.     </test>
  41.     <test id="FileDurationTestDMC" FuncDesc="Checking file duration.">
  42.       <return case="0" ref="LoadDSMediaInformation"/>
  43.       <return case="2" ref="ShowMsgUsingStringID"/>
  44.     </test>
  45.     <test id="CheckNumberOfStreamsAndDuration" FuncDesc="Check file duration and no of streams.">
  46.       <return case="0" ref="CheckNumberOfStreams"/>
  47.       <return case="1" ref="ShowMsgUsingStringID"/>
  48.     </test>
  49.     <test id="CheckNumberOfStreams" FuncDesc="Check number of streams and decide Which mediadet to use.">
  50.       <return case="0" ref="LoadDSMediaInformation" test-seq="General"/>
  51.       <return case="1" ref="LoadDSMediaInformationWithDSMediaDet" test-seq="General"/>
  52.       <return case="else" cmd="Accept"/>
  53.     </test>
  54.     <test id="LoadDSMediaInformation" FuncDesc="Loading media information using IMediaDet.">
  55.       <return case="else" cmd="Accept"/>
  56.     </test>
  57.     <test id="LoadDSMediaInformationWithDSMediaDet" FuncDesc="Loading media information using DSMediaDet.">
  58.       <return case="else" cmd="Accept"/>
  59.     </test>
  60.     <test id="IsFileNameInvalid" FuncDesc="Checking if filename is valid.">
  61.       <return case="0" ref="FileDurationTestDMC"/>
  62.       <return case="1" ref="ShowMsgUsingStringID"/>
  63.     </test>
  64.   </test-seq>
  65.  
  66.   <test-seq type="Exception" >
  67.     <test id="ShowExceptionMsg" FuncDesc="Exception occured on last command.">
  68.       <return case="2" cmd="Reject" />
  69.       <return case="else" cmd="Abort" />
  70.       <extrainfo>
  71.         <info id="Application Caption"><![CDATA[Digital Media Converter]]></info>
  72.       </extrainfo>
  73.     </test>
  74.   </test-seq>
  75.  
  76.   <test-seq type="CDA">
  77.     <test id="CheckIfDriveIsCDROMDrive" FuncDesc="Check if file is taken from CD drive.">
  78.       <return case="0" ref="CheckTrackFormat"/>
  79.       <return case="1" ref="ShowMsgUsingStringID" test-seq="General"/>
  80.     </test>
  81.     <test id="CheckTrackFormat" FuncDesc="Check track format.">
  82.       <return case="0" ref="FindCDTrackDuration"/>
  83.       <return case="1" ref="ShowMsgUsingStringID" test-seq="General"/>
  84.     </test>
  85.     <test id="FindCDTrackDuration" FuncDesc="Check CD track duration.">
  86.       <return case="0" ref="LoadCDTrackAudioInformation"/>
  87.       <return case="1" ref="ShowMsgUsingStringID" test-seq="General"/>
  88.     </test>
  89.     <test id="LoadCDTrackAudioInformation" FuncDesc="Load CD track media information.">
  90.       <return case="else" cmd="Accept"/>
  91.     </test>
  92.   </test-seq>
  93.  
  94.   <test-seq type="QuickTime">
  95.     <test id="IsQTInstalled" FuncDesc="Check if QT is installed.">
  96.       <return case="0" ref="IsValidQTFile"/>
  97.       <return case="1" ref="GiveMessageToDownloadQT" />
  98.     </test>
  99.     <test id="IsValidQTFile" FuncDesc="Check if valid QT file.">
  100.       <return case="1" ref="FileDurationTestMOV"/>
  101.       <return case="2" ref="ShowMsgUsingStringID" test-seq="General"/>
  102.     </test>
  103.     <test id="GiveMessageToDownloadQT" FuncDesc="Give message to download QT.">
  104.       <return case="2" cmd="Reject"/>
  105.       <return case="3" cmd="Abort"/>
  106.       <return case="1" ref="IsQTInstalled"/>
  107.       <extrainfo>
  108.         <info id="Note"><![CDATA[After installing the required codec, click 'Retry' to try adding the file again. If 'Retry' does not work you must relaunch Digital Media Converter.]]></info>
  109.         <info id="Codec URL"><![CDATA[http://www.apple.com/quicktime/products/qt/.]]></info>
  110.       </extrainfo>
  111.     </test>
  112.     <test id="FileDurationTestMOV" FuncDesc="Check QT file duration.">
  113.       <return case="0" ref="IsQTLatestVersionInstalled"/>
  114.       <return case="1" ref="ShowMsgUsingStringID" test-seq="General"/>
  115.     </test>
  116.     <test id="IsQTLatestVersionInstalled" FuncDesc="Check for QT latest version.">
  117.       <return case="0" ref="RecommendQTLatestVersion"/>
  118.       <return case="1" ref="LoadQTMediaInformation"/>
  119.     </test>
  120.     <test id="RecommendQTLatestVersion" FuncDesc="Recommend QT latest version.">
  121.       <return case="2" ref="LoadQTMediaInformation"/>
  122.       <return case="3" cmd="Abort"/>
  123.       <return case="1" ref="IsQTInstalled"/>
  124.       <extrainfo>
  125.         <info id="BaseRegistryKey"><![CDATA[HKEY_CURRENT_USER\Software\DeskShare\MC\DMsgs]]></info>
  126.         <info id="Codec URL"><![CDATA[http://www.apple.com/quicktime/products/qt/.]]></info>
  127.       </extrainfo>
  128.     </test>
  129.     <test id="LoadQTMediaInformation" FuncDesc="Load QT media information.">
  130.       <return case="else" cmd="Accept"/>
  131.     </test>
  132.   </test-seq>
  133.  
  134.   <test-seq type="WMV">
  135.     <test id="DSRenderWMV" FuncDesc="Check for WMV render.">
  136.       <return case="1" ref="FileDurationTestDMC" test-seq="General"/>
  137.       <return case="2" ref="IsWMVFileProtected"/>
  138.       <return case="3" ref="ShowMsgUsingStringID" test-seq="General"/>
  139.       <return case="4" ref="IsFileNameInvalid" test-seq="General"/>
  140.     </test>
  141.     <test id="IsWMVFileProtected" FuncDesc="Check if WMV is protected.">
  142.       <return case="0" ref="ShowMsgUsingStringID" test-seq="General"/>
  143.     </test>
  144.   </test-seq>
  145.  
  146.   <test-seq type="DVRMS">
  147.     <test id="CheckOSVersion" FuncDesc="Check OS.">
  148.       <return case="3" ref="CheckServicePackVersion"/>
  149.       <return case="else" ref="ShowMsgUsingStringID" test-seq="General"/>
  150.     </test>
  151.     <test id="CheckServicePackVersion" FuncDesc="Check SP.">
  152.       <return case="1" ref="CheckDirectXVersion"/>
  153.       <return case="else" ref="ShowMsgUsingStringID" test-seq="General"/>
  154.     </test>
  155.     <test id="CheckDirectXVersion" FuncDesc="Check DS Version.">
  156.       <return case="1" ref="IsDVRMSProtected"/>
  157.       <return case="else" ref="ShowMsgUsingStringID" test-seq="General"/>
  158.     </test>
  159.     <test id="IsDVRMSProtected" FuncDesc="Check for dvrms protection.">
  160.       <return case="1" ref="CheckForGPLDecoders" test-seq="MPEG2"/>
  161.       <return case="else" ref="ShowMsgUsingStringID" test-seq="General"/>
  162.     </test>
  163.   </test-seq>
  164.  
  165.   <test-seq type="MP4">
  166.     <test id="CheckForMpegableDecoders" FuncDesc="Check for mp4 decoders">
  167.       <return case="0" ref="ForceMP4DecodersToRender"/>
  168.       <return case="1" ref="DSRenderMP4"/>
  169.     </test>
  170.     <test id="DSRenderMP4" FuncDesc="Check for mp4 file render">
  171.       <return case="0" ref="GiveMessageToDownloadMP4Decoders"/>
  172.       <return case="1" ref="IsNumberOfStreamsValidWoMP4Decoders"/>
  173.       <return case="2" ref="RecommendMP4Decoders"/>
  174.     </test>
  175.     <test id="RecommendMP4Decoders" FuncDesc="Recommend mp4 decoders">
  176.       <return case="0" ref="FileDurationTestDMC" test-seq="General"/>
  177.       <return case="1" cmd="Abort"/>
  178.       <return case="2" ref="CheckForMpegableDecoders"/>
  179.       <extrainfo>
  180.         <info id="Note"><![CDATA[After installing the required codec, click 'Retry' to try adding the file again. If 'Retry' does not work you must relaunch Digital Media Converter.]]></info>
  181.         <info id="BaseRegistryKey"><![CDATA[HKEY_CURRENT_USER\Software\DeskShare\MC\DMsgs]]></info>
  182.         <info id="Codec URL"><![CDATA[http://www.deskshare.com/download/mpegabledsdecoder.exe]]></info>
  183.       </extrainfo>
  184.     </test>
  185.     <test id="IsNumberOfStreamsValidWoMP4Decoders" FuncDesc="Count number of streams in mp4 wihtout mp4 decoders.">
  186.       <return case="0" ref="RecommendMP4Decoders"/>
  187.       <return case="1" ref="GiveMessageToDownloadMP4Decoders"/>
  188.     </test>
  189.     <test id="GiveMessageToDownloadMP4Decoders" FuncDesc="Give message to download mp4 decoders.">
  190.       <return case="0" cmd="Reject"/>
  191.       <return case="1" cmd="Abort"/>
  192.       <return case="2" ref="CheckForMpegableDecoders"/>
  193.       <extrainfo>
  194.         <info id="Note"><![CDATA[After installing the required codec, click 'Retry' to try adding the file again. If 'Retry' does not work you must relaunch Digital Media Converter.]]></info>
  195.         <info id="Codec URL"><![CDATA[http://www.deskshare.com/download/mpegabledsdecoder.exe]]></info>
  196.       </extrainfo>
  197.     </test>
  198.     <test id="ForceMP4DecodersToRender" FuncDesc="Use mp4 Decoders to render.">
  199.       <return case="0" ref="FileDurationTestDMC" test-seq="General"/>
  200.       <return case="1" ref="IsNumberOfStreamsValidWithMP4Decoders"/>
  201.       <return case="2" ref="IsFileNameInvalidMP4"/>
  202.     </test>
  203.     <test id="IsFileNameInvalidMP4" FuncDesc="Check if mp4 filename is valid.">
  204.       <return case="else" ref="ShowMsgUsingStringID" test-seq="General"/>
  205.     </test>
  206.     <test id="IsNumberOfStreamsValidWithMP4Decoders" FuncDesc="Count number of streams in mp4 with mp4 decoders.">
  207.       <return case="0" cmd="Accept"/>
  208.       <return case="1" ref="ShowMsgUsingStringID" test-seq="General"/>
  209.     </test>
  210.   </test-seq>
  211.  
  212.   <test-seq type="MPEG2">
  213.     <test id="CheckForGPLDecoders" FuncDesc="Check for gpl mpeg-2 decoders.">
  214.       <return case="1" ref="ForceGPLToRender"/>
  215.       <return case="2" ref="DSRenderMPEG"/>
  216.     </test>
  217.     <test id="ForceGPLToRender" FuncDesc="Use gpl mpeg-2 decoders to render.">
  218.       <return case="0" ref="CheckMpegDecoderVersionAndAddFile"/>
  219.       <return case="1" ref="IsNumberOfStreamsValidWithGPL"/>
  220.       <return case="2" ref="IsFileNameInvalidMPEGCheckWithGpl"/>
  221.     </test>
  222.     <test id="IsFileNameInvalidMPEGCheckWithGpl" FuncDesc="Check if mpeg2 filename is valid with gpl decoders.">
  223.       <return case="0" ref="CheckMpegDecoderVersionAndRejectFile"/>
  224.       <return case="1" ref="ShowMsgUsingStringID" test-seq="General"/>
  225.     </test>
  226.     <test id="RecommendGPLLatestVersion" FuncDesc="Recommend gpl mpeg-2 decoders latest version.">
  227.       <return case="1" ref="ReVerifyDVRMS"/>
  228.       <return case="2" ref="CheckForGPLDecoders"/>
  229.       <return case="else" cmd="Abort"/>
  230.       <extrainfo>
  231.         <info id="Note"><![CDATA[After installing the required codec, click 'Retry' to try adding the file again. If 'Retry' does not work you must relaunch Digital Media Converter.]]></info>
  232.         <info id="BaseRegistryKey"><![CDATA[HKEY_CURRENT_USER\Software\DeskShare\MC\DMsgs]]></info>
  233.         <info id="Codec URL"><![CDATA[http://www.deskshare.com/download/mpeg2decoder.exe]]></info>
  234.       </extrainfo>
  235.     </test>
  236.     <test id="IsNumberOfStreamsValidWithGPL" FuncDesc="Count number of streams in mpeg2 with gpl mpeg-2 decoders.">
  237.       <return case="0" ref="CheckMpegDecoderVersionAndAddFile"/>
  238.       <return case="1" ref="CheckMpegDecoderVersionAndRejectFile"/>
  239.     </test>
  240.     <test id="CheckMpegDecoderVersionAndAddFile" FuncDesc="Check gpl mpeg-2 decoder version and add file.">
  241.       <return case="1" ref="ReVerifyDVRMS"/>
  242.       <return case="2" ref="RecommendGPLLatestVersion"/>
  243.       <extrainfo>
  244.         <info id="MPEG2RegistryForDSCompat"><![CDATA[Software\DeskShare\DMCCompat4\Filters\]]></info>
  245.       </extrainfo>
  246.     </test>
  247.     <test id="CheckMpegDecoderVersionAndRejectFile" FuncDesc="Check gpl mpeg-2 decoder version and reject file.">
  248.       <return case="1" ref="ShowMsgUsingStringID" test-seq="General"/>
  249.       <return case="2" ref="GiveDownloadGPLMessage"/>
  250.       <extrainfo>
  251.         <info id="MPEG2RegistryForDSCompat"><![CDATA[Software\DeskShare\DMCCompat4\Filters\]]></info>
  252.       </extrainfo>
  253.     </test>
  254.     <test id="DSRenderMPEG" FuncDesc="Check mpeg2 file render.">
  255.       <return case="0" ref="RecommendGPL"/>
  256.       <return case="1" ref="IsNumberOfStreamsValidWithoutGPL"/>
  257.       <return case="2" ref="GiveDownloadGPLMessage"/>
  258.       <return case="3" ref="IsFileNameInvalidMPEGCheckWoGpl"/>
  259.     </test>
  260.     <test id="IsFileNameInvalidMPEGCheckWoGpl" FuncDesc="Check if mpeg2 filename is valid without gpl">
  261.       <return case="0" ref="GiveDownloadGPLMessage"/>
  262.       <return case="1" ref="ShowMsgUsingStringID" test-seq="General"/>
  263.     </test>
  264.     <test id="IsNumberOfStreamsValidWithoutGPL" FuncDesc="Count number of streams without gpl decoders">
  265.       <return case="1" ref="GiveDownloadGPLMessage"/>
  266.       <return case="2" ref="RecommendGPL"/>
  267.     </test>
  268.     <test id="GiveDownloadGPLMessage" FuncDesc="Give download gpl mpeg-2 decoders message.">
  269.       <return case="1" ref="CheckForGPLDecoders"/>
  270.       <return case="2" cmd="Reject"/>
  271.       <return case="else" cmd="Abort"/>
  272.       <extrainfo>
  273.         <info id="Note"><![CDATA[After installing the required codec, click 'Retry' to try adding the file again. If 'Retry' does not work you must relaunch Digital Media Converter.]]></info>
  274.         <info id="Codec URL"><![CDATA[http://www.deskshare.com/download/mpeg2decoder.exe]]></info>
  275.       </extrainfo>
  276.     </test>
  277.     <test id="RecommendGPL" FuncDesc="Recommend gpl mpeg-2 decoders.">
  278.       <return case ="1" ref="CheckForGPLDecoders"/>
  279.       <return case ="2" ref="ReVerifyDVRMS"/>
  280.       <return case ="3" cmd="Abort"/>
  281.       <extrainfo>
  282.         <info id="Note"><![CDATA[After installing the required codec, click 'Retry' to try adding the file again. If 'Retry' does not work you must relaunch Digital Media Converter.]]></info>
  283.         <info id="BaseRegistryKey"><![CDATA[HKEY_CURRENT_USER\Software\DeskShare\MC\DMsgs]]></info>
  284.         <info id="Codec URL"><![CDATA[http://www.deskshare.com/download/mpeg2decoder.exe]]></info>
  285.       </extrainfo>
  286.     </test>
  287.     <test id="ReVerifyDVRMS" FuncDesc="Reverify if file is dvr-ms.">
  288.       <return case="0" ref="IsFileEncrypted" test-seq="OnlyMPEG2Test"/>
  289.       <return case="1" ref="CheckNumberOfStreamsAndDuration" test-seq="General"/>
  290.     </test>
  291.   </test-seq>
  292.  
  293.   <test-seq type="OnlyMPEG2Test">
  294.     <test id="IsFileTakenFromDVDDrive" FuncDesc="Check if mpeg2 file is taken from dvd drive.">
  295.       <return case="1" ref="IsFileHavingChapters"/>
  296.       <return case="2" ref="ShowMsgCopyFileToDisk"/>
  297.     </test>
  298.     <test id="ShowMsgCopyFileToDisk" FuncDesc="Show message to copy file from DVD to local disk.">
  299.       <return case ="1" ref="IsFileHavingChapters"/>
  300.       <return case="2" cmd="Reject"/>
  301.       <return case="else" cmd="Abort"/>
  302.       <extrainfo>
  303.         <info id="BaseRegistryKey"><![CDATA[HKEY_CURRENT_USER\Software\DeskShare\MC\WorkingFolder]]></info>
  304.       </extrainfo>
  305.     </test>
  306.     <test id="IsFileEncrypted" FuncDesc="Check if mpeg2 file is encrypted.">
  307.       <return case="1" ref="IsFileTakenFromDVDDrive"/>
  308.       <return case="2" ref="ShowMsgUsingStringID" test-seq="General"/>
  309.     </test>
  310.     <test id="IsFileHavingChapters" FuncDesc="Check if mpeg2 file is having chapters.">
  311.      <return case="1" ref="CheckVOBChaptersFlagDMC"/>
  312.       <return case="2" cmd="Reject"/>
  313.     </test>
  314.     <test id="CheckVOBChaptersFlagDMC" FuncDesc="Check the flag VOBChapters and then checks if file has chapters.">
  315.       <return case="1" ref="GiveChapterDurationMessage" />
  316.       <return case="0" ref="CheckNumberOfStreamsAndDuration" test-seq="General"/>
  317.     </test>
  318.  
  319.     <test id="GiveChapterDurationMessage" FuncDesc="Give mpeg2 chapter duration message.">
  320.       <return case="0" ref="CheckNumberOfStreams" test-seq="General"/>
  321.       <return case="else"  cmd="Abort"/>
  322.     </test>
  323.   </test-seq>
  324.  
  325.   <test-seq type="AVI">
  326.     <test id="DSRender" FuncDesc="Check if avi file renders.">
  327.       <return case="0" ref="FileDurationTestDMC" test-seq="General"/>
  328.       <return case="1" ref="FindAVICompressor" />
  329.       <return case="3" ref="ShowMsgUsingStringID" test-seq="General"/>
  330.       <return case="2" cmd="Reject" />
  331.     </test>
  332.     <test id="FindAVICompressor" FuncDesc="Find required AVI compressor.">
  333.       <return case="0" ref="RecommendAVICompressor" />
  334.       <return case="else" cmd="Abort" />
  335.     </test>
  336.     <test id="RecommendAVICompressor" FuncDesc="Recommend AVI compressor.">
  337.       <return case="0" ref="DSRender"/>
  338.       <return case="2" cmd="Reject" />
  339.       <return case="else" cmd="Abort" />
  340.       <extrainfo>
  341.         <info id="Help Page"><![CDATA[TroubleShooting.htm]]></info>
  342.         <info id="Note"><![CDATA[After installing the required codec, click 'Retry' to try adding the file again. If 'Retry' does not work you must relaunch Digital Media Converter.]]></info>
  343.       </extrainfo>
  344.     </test>
  345.   </test-seq>
  346.  
  347.   <services>
  348.     <info id="Help File"><![CDATA[\Help\DMC Help.chm]]></info>
  349.     <info id="Help Page"><![CDATA[TroubleShooting.htm]]></info>
  350.     <info id="DSCompat"><![CDATA[2]]></info >
  351.     <info id="Application Caption"><![CDATA[Digital Media Converter]]></info>
  352.   </services>
  353.  
  354. </tests>
  355.